﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace WXY.Course.Model
{
    public class ModuleInfo
    {
        public int? Code { get; set; }

        [Display(Name = "名称")]
        [Required(ErrorMessage = "{0}为必填项")]
        [ByteLength(50, ErrorMessage = "{0}的最大长度为{1}")]
        public string Name { get; set; }

        public DateTime CreateTime { get; set; }

        public DateTime UpdateTime { get; set; }
    }
}
